package com.achievement.domain.dto;


import com.common.validate.edit;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel(value = "科研成果转化DTO")
public class ProductTransformDTO {
    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空", groups = {edit.class})
    private String id;
    @ApiModelProperty(value = "成果名称")
    private String name;
    @ApiModelProperty(value = "知识产权编号")
    private String code;
    @ApiModelProperty(value = "所属单位")
    private String unitId;
    @ApiModelProperty(value = "成果联系人")
    private String txAuthor;
    @ApiModelProperty(value = "成果联系人电话")
    private String txAuthorTel;
    @ApiModelProperty(value = "成果完成人电话")
    private String authorTel;
    @ApiModelProperty(value = "第一完成人Id")
    private String firstAuthorId;
    @ApiModelProperty(value = "第一完成人名称")
    private String firstAuthorName;
    @ApiModelProperty(value = "第一完成人职工号")
    private String firstAuthorAccount;
    @ApiModelProperty(value = "第一完成人职称")
    private String firstAuthorTitleId;
    @ApiModelProperty(value = "第一完成人性别")
    private String firstAuthorSexid;
    @ApiModelProperty(value = "第一完成人学历")
    private String firstAuthorEduLevelId;
    @ApiModelProperty(value = "第一完成人学位")
    private String firstAuthorEduDegreeId;

    @ApiModelProperty(value = "研发起始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date researchStartdate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "研发截止时间")
    private Date researchEnddate;
    @ApiModelProperty(value = "知识产权类型")
    private String typeId;
    @ApiModelProperty(value = "成果体现形式")
    private String manifestationId;
    @ApiModelProperty(value = "技术成熟度")
    private String matureId;
    @ApiModelProperty(value = "技术先进度")
    private String advancedId;
    @ApiModelProperty(value = "所属高新技术领域")
    private String domainId;
    @ApiModelProperty(value = "成果主要应用行业")
    private String industryId;
    @ApiModelProperty(value = "成果获得方式")
    private String obtainId;
    @ApiModelProperty(value = "获得政府支持情况{check:选择类型,type:计划/专项类别,fee:获得经费,zczj:自筹经费,zczj_source：自筹经费来源}")
    private String supportId;
    @ApiModelProperty(value = "成果简介")
    private String introduce;
    @ApiModelProperty(value = "成果附件")
    private String fileIds;
    @ApiModelProperty(value = "所需支持或建议")
    private String suggestion;
    @ApiModelProperty(value = "拟采取转化方式")
    private String transforId;
    @ApiModelProperty(value = "备注")
    private String note;
    @ApiModelProperty(value = "")
    private String divisionId;
    @ApiModelProperty(value = "审核状态")
    private String checkstatus;

    @ApiModelProperty(value = "提交类型 -> -1:暂存,1:提交,2:保存并通过")
    private Integer submitType;

    private Boolean isAuditor;

    private String taskId;

}
